package com.tianxiabuyi.model.pojo;
import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * app版本信息
 * @author yanghx
 *
 */
@Entity
@Table(name = "app_version")
public class AppVersion extends TXBYObject {
	@Column(name = "app_type")@JSONField(name = "app_type")
	private String appType;				// app的种类
	@Column(name = "version_code")@JSONField(name = "version_code")
	private Integer versionCode;		// app发布版本次序
	private String version;				// app版本序列号
	private String description;			// 新特性
	private String url;					// 下载地址
	private Integer type;                // 设备类型 (1:iOS,2:Android)
	@Column(name = "app_name")@JSONField(name = "app_name")
	private String appName;
	
	public String getAppType() {
		return appType;
	}

	public void setAppType(String appType) {
		this.appType = appType;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getVersionCode() {
		return versionCode;
	}

	public void setVersionCode(Integer versionCode) {
		this.versionCode = versionCode;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
